# _*_ coding: utf-8 _*_
from odoo import api, fields, models, tools


class StockInoutLine(models.Model):
    _inherit = "stock.inout.line"

    _sql_constraints = [('cons_stock_inout_limit', 'UNIQUE(prod_lot_id,location_id,start_date)', U'数据重复！')]